<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'
import HelloWorld from './components/HelloWorld.vue'
</script>

<template>
  <header>
    <div class="wrapper">
      <nav>
        <RouterLink to="/">Home</RouterLink>
        <RouterLink to="/about">About</RouterLink>
        <RouterLink to="/adminlogin">登录</RouterLink>
        <RouterLink to="/discountadd">优惠券增加</RouterLink>
        <RouterLink to="/discountlist">优惠券列表</RouterLink>
        <RouterLink to="/houseadd">房型添加</RouterLink>
        <RouterLink to="/houselist">房型列表</RouterLink>
        <RouterLink to="/houseplanadd">房价计划添加</RouterLink>
        <RouterLink to="/houseplanlist">房价计划列表</RouterLink>
        <RouterLink to="/housenumberadd">添加房号</RouterLink>
        <RouterLink to="/housenumberlist">房号列表</RouterLink>
        <RouterLink to="/houseuseradd">添加排房</RouterLink>
        <RouterLink to="/houseuserlist">排房列表</RouterLink>
        <RouterLink to="/houseupdate">房型修改</RouterLink>
      </nav>
    </div>
  </header>

  <RouterView />
</template>

<style scoped>
a{
  margin: 0 10px;
}
</style>
